import 'package:flutter/material.dart';
import 'package:xinxuan/utils/over_scroll_behavior.dart';

/// 清除ListView 等可滚动组件的默认蓝色水波纹效果
class ScrollConfigurationCommon extends StatelessWidget {

  final Widget child;
  ScrollConfigurationCommon({
    required this.child
  });

  @override
  Widget build(BuildContext context) {
    return ScrollConfiguration(
      behavior: OverScrollBehavior(), 
      child: child
    );
  }
}